<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">

</script>
<div class="bjui-pageContent">
	<!-- 查询和编辑公用一个页面，id空：新增，id不空：编辑--
		注意：本系统遵循restful架构，action处理时method严格按照 新增：post 编辑：put 删除:delete 查询：get(默认)
		由于删除和编辑form表单不支持，所以必须在action的url后面增加参数_method=put或_method=delete
	-->
	#if(!$!{record.id})
	<form type="post" action="$!{webPath}/tssy/tsSyDept/add?navTabId=tsSyDeptLiNav&closeCurrent=true"  data-toggle="validate" data-alertmsg="false">
	#else
    <form type="post" action="$!{webPath}/tssy/tsSyDept/update?_method=put&navTabId=tsSyDeptLiNav&closeCurrent=true" data-toggle="validate" data-alertmsg="false">
	#end
        #if(!$!{record.id})
		<input type="hidden" name="id" value="" />
		#else
		<input type="hidden" name="id" value="$!{record.id}"/>
		#end
        <table class="table table-condensed table-hover" width="100%"> 
            <tbody>
            	<tr>
				<td>
					<label for="j-deptName" class="control-label x85">部门名称：</label>
					
					<input data-rule="required" maxlength=100 type="text" name="deptName"  value="$!record.deptName" size="15" id="j-deptName"/>
				</td>
            	
				<td>
					<label for="j-deptPhone" class="control-label x85">部门电话：</label>
					
					<input data-rule="mobile" type="text" maxlength=13 name="deptPhone"  value="$!record.deptPhone" size="15" id="j-deptPhone"/>
				</td>
            	
            	</tr>
            	<tr>
				<td>
					<label for="j-linkmanId" class="control-label x85">联系人：</label>
					
					<input data-rule="required" type="text" maxlength=32 name="linkmanId"  value="$!record.linkmanId" size="15" id="j-linkmanId"/>
				</td>
            	
				<td>
					<label for="j-linkmanMobile" class="control-label x85">联系人电话：</label>
					
					<input data-rule="mobile" type="text" maxlength=13 name="linkmanMobile"  value="$!record.linkmanMobile" size="15" id="j-linkmanMobile"/>
				</td>
            	
            	</tr>
            	<tr>
				<td>
					<label for="j-remark" class="control-label x85">备注：</label>
					
					<input type="text" name="remark"  value="$!record.remark" size="15" id="j-remark"/>
				</td>
            	<td></td>
            	</tr>
            	
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
        <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
    </ul>
</div>
